package com.mjk.common.web.getway.restful.interceptor;


import com.mjk.common.web.getway.transfer.GetwayTransfer;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Map;

/**
 * 用于链条之间传输数据
 * @author mjk
 *
 */
@Data
public class GetWayInterceptorReq implements Serializable{

	@Serial
    private static final long serialVersionUID = 494203404580828128L;

	private transient HttpServletRequest request;
	
	private transient HttpServletResponse response;
	
	private transient Map<String,Object> params;//http传输的参数
	
	private transient Map<String,Object> restfulParams;//URL中的参数
	
	private transient Map<String,String> headParams;//头部
	
	private transient GetwayTransfer protocal;//协议类
	
	private String fileName;
	
	private String uploadPath;// 上传路径
	
	private Boolean isPre;//是否在前拦截器
	
	private String reqContent;//请求的数据内容
}
